<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
	isELIgnored="false" session="true"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<title><s:message code="M_2920_FSPSMPLIN_TITLE_TAG"/></title>

<style>

.control-label {
	margin: 3px;
}

form .form-group {
	margin: 2px 0px;
}
form .form-control {
	margin: 0px;
}
.UnderDiv {
	position: relative;
	top: 95px;
}
.rightDiv {
	position: relative;
	top: 95px;
}
</style>
<%@ include file="/page/comPage/comCSS.html"%>
<%@ include file="/page/comPage/navbar.html"%>
</head>
<body>

	<div class="container-fluid">
			<div class="col-lg-12 col-md-12 col-sm-12 btnDivCss">
				<button class="btn btn-info" id="query_btn"><s:message code="F1_QUERY_TOOL_TAG"/></button>

				<button class="btn btn-warning" id="addRsn_btn"><s:message code="F2_REGISTER"/></button>
				
				<button class="btn btn-info" id="acti_free"><s:message code="F3_ACTIVI_FREEZR"/></button>
				
				<button class="btn btn-warning" id="delRsn_btn"><s:message code="EXPORT"/></button>

				<button class="btn btn-primary" id="import_btn"><s:message code="ID_IMPORT"/></button>

				<button class="btn btn-primary" id="importSte_btn"><s:message code="IMPORT_STENCIL"/></button>

				<button class="btn btn-primary" id="priority_btn"><s:message code="PRIORITY_ASC"/></button>

				<button class="btn btn-primary" id="delete_btn"><s:message code="F8_DELETE"/></button>

			</div>
		<div class="col-lg-12">
			<fieldset>
				<legend><s:message code="SAMPLING_OPERATION"/> </legend>
			</fieldset>
			<form>
				<div class="row">
					<div class="form-group col-xs-3">
						<label class="col-xs-5 control-label" for ="mdl_id_fk">
							<s:message code="MDL_ID_TAG"/></label>
						<div class="col-xs-6">
							<select id="mdl_id_fk" class="form-control"></select>
						</div>
					</div>
					<div class="form-group col-xs-3">
						<label class="col-xs-5 control-label" for ="path_id_fk">
							<s:message code="ROUTE_TAG"/></label>
						<div class="col-xs-6">
							<select id="path_id_fk" class="form-control"></select>
						</div>
					</div>
					<div class="form-group col-xs-3">
						<label class="col-xs-5 control-label" for ="path_ver_fk">
							<s:message code="ROUTE_VER_TAG"/></label>
						<div class="col-xs-6">
							<select id="path_ver_fk" class="form-control"></select>
						</div>
					</div>
					<div class="form-group col-xs-3">
						<label class="col-xs-5 control-label" for ="ope_no_fk">
							<s:message code="JUDGE_ID_TAG"/></label>
						<div class="col-xs-6">
							<select id="ope_no_fk" class="form-control"></select>
						</div>
					</div>
				</div>

				<div class="row">
					<div class="form-group col-xs-3">
						<label class="col-xs-5 control-label" for ="ope_id_fk">
							<s:message code="PROC_ID_TAG"/></label>
						<div class="col-xs-6">
							<select id="ope_id_fk" class="form-control"></select>
						</div>
					</div>
					<div class="form-group col-xs-3">
						<label class="col-xs-5 control-label" for ="ope_ver_fk">
							<s:message code="PROC_VER_TAG"/></label>
						<div class="col-xs-6">
							<select id="ope_ver_fk" class="form-control"></select>
						</div>
					</div>
					<div class="form-group col-xs-3">
						<label class="col-xs-5 control-label" for ="tool_id">
							<s:message code="TOOL_ID_TAG"/></label>
						<div class="col-xs-6">
							<select id="tool_id_fk" class="form-control"></select>
						</div>
					</div>
					<div class="form-group col-xs-3">
						<label class="col-xs-5 control-label" for ="samp_tpl_id">
							<s:message code="STENCIL_ID"/></label>
						<div class="col-xs-6">
							<select id="samp_tpl_id_fk" class="form-control"></select>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="form-group col-xs-3 ">
						<label class="col-xs-5 control-label" for ="counting_interval">
							<s:message code="COUNTING_INTERVAL"/></label>
						<div class="col-xs-6">
							<input id="samp_qty" class="form-control">
						</div>
					</div>
				<div class="form-group col-xs-9">
					<div class="col-lg-12 col-md-12 col-sm-12 " id="rsnInfoGrdDiv">
						<div style="position:absolute; height:80px; width: 1000px; overflow:auto">
							<textarea id="evt_note" cols="200" rows="10" class="form-group" placeholder="备注"></textarea>
						</div>
					</div>
				</div>
				</div>
				<div class="row">
				<div class="form-group col-xs-3">
					<label class="col-xs-5 control-label" for ="sampling_batch_num">
						<s:message code="SAMPLING_BATCH_NUM"/></label>
					<div class="col-xs-6">
						<input id="rsv_batch_qty" class="form-control" value="1">
					</div>
				</div>
				</div>
			</form>
		</div>



			<div class="col-lg-12 col-md-12 col-sm-12 UnderDiv">
				<fieldset>
					<legend> <s:message code="SAMPLING_LIST"/> </legend>
					<div class="col-lg-12 col-md-12 col-sm-12" id="prdInfoGrdDiv">
						<table id="prdInfoGrd"></table>
						<div id="prdInfoPg"></div>
					</div>
				</fieldset>
			</div>
	</div>
	<!-- 上传 -->
	<div id="uploadModel" class="modal fade" tabindex="-1" role="dialog">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
							aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title">导入单</h4>
				</div>
				<div class="modal-body">
					<form id="uploadForm" action="uploadList.do" method="post" target="hiddenForm"
						  enctype="multipart/form-data">
						<input type="file" name="file" id="fileinput" />

						<%--<input type="submit" value="Submit" />--%>
					</form>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					<button id="uploadBtn" type="button" class="btn btn-primary">导入</button>
				</div>
			</div>
		</div>
	</div>
	<%@ include file="/page/comPage/comJS.html"%>
	<script src="js/page/2000/2920.js"></script>

</body>
</html>
